<template>
	<view class="content">
		<view style="width: 100vw;">
			<view class="pd cardview bgwhite">
			  <codecook-carnumber v-model="carNumber"></codecook-carnumber>
			</view>
		</view>
		<view class="float-area fl-cc">
			<view class="" style="width: 90%;">
				<view class="btn btn-primary fl" plain @click="onAddCar">
					提交
				</view>
			</view>
		</view>
	</view>
</template>

<script setup>
	import {
		ref,
		computed,
		onMounted,
		reactive,
		nextTick
	} from 'vue';
	import {
		onLoad,
		onShow
	} from '@dcloudio/uni-app';
  const carNumber = ref('渝AT88888');

	onLoad(async (query) => {
		uni.setNavigationBarTitle({
			title: "新增车辆"
		})
	});
</script>

<style>
	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
  .wrap {
    width: 100%;
  }

	.logo {
		height: 200rpx;
		width: 200rpx;
		margin-top: 200rpx;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 50rpx;
	}

	.text-area {
		display: flex;
		justify-content: center;
	}

	.title {
		font-size: 36rpx;
		color: #8f8f94;
	}
</style>
